package com.arqui.admmon_module.client.core.adm_brand;

import com.gwtplatform.mvp.client.ViewImpl;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.user.client.ui.Widget;
import com.google.inject.Inject;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.LongBox;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Label;

public class BrandModView extends ViewImpl implements BrandModPresenter.MyView {

	private final Widget widget;
	@UiField TextBox labelName;
	@UiField TextBox labelNameRepre;
	@UiField TextBox labelLastNameRepre;
	@UiField LongBox longIdRepre;
	@UiField TextBox labelEMail;
	@UiField LongBox longCel;
	@UiField LongBox longNit;
	@UiField Button buttonSave;
	@UiField Button buttonCancel;
	@UiField Label message;

	public interface Binder extends UiBinder<Widget, BrandModView> {
	}

	@Inject
	public BrandModView(final Binder binder) {
		widget = binder.createAndBindUi(this);
	}

	@Override
	public Widget asWidget() {
		return widget;
	}

	public TextBox getLabelName() {
		return labelName;
	}

	public TextBox getLabelNameRepre() {
		return labelNameRepre;
	}

	public TextBox getLabelLastNameRepre() {
		return labelLastNameRepre;
	}

	public LongBox getLongIdRepre() {
		return longIdRepre;
	}

	public TextBox getLabelEMail() {
		return labelEMail;
	}

	public LongBox getLongCel() {
		return longCel;
	}
	
	public LongBox getLongNit() {
		return longNit;
	}

	public Button getButtonSave() {
		return buttonSave;
	}

	public Button getButtonCancel() {
		return buttonCancel;
	}
	
	public Label getMessage() {
		return message;
	}

	public void setMessage(Label message) {
		this.message = message;
	}

	public void setLongNit(LongBox longNit) {
		this.longNit = longNit;
	}

	public void setButtonSave(Button buttonSave) {
		this.buttonSave = buttonSave;
	}

	public void setButtonCancel(Button buttonCancel) {
		this.buttonCancel = buttonCancel;
	}

	public void setLabelName(TextBox labelName) {
		this.labelName = labelName;
	}

	public void setLabelNameRepre(TextBox labelNameRepre) {
		this.labelNameRepre = labelNameRepre;
	}

	public void setLabelLastNameRepre(TextBox labelLastNameRepre) {
		this.labelLastNameRepre = labelLastNameRepre;
	}

	public void setLongIdRepre(LongBox longIdRepre) {
		this.longIdRepre = longIdRepre;
	}

	public void setLabelEMail(TextBox labelEMail) {
		this.labelEMail = labelEMail;
	}

	public void setLongCel(LongBox longCel) {
		this.longCel = longCel;
	}
	
}
